package com.ye.service;

import com.ye.domain.User;

import java.util.List;


public interface UserService {
    List<User> queryAll();
    User queryUserById(Integer id);
    void insertUser(User user);
    void updatePassword(String username,String password);
    void updateState(Integer id,String state);
    User loginAuth(String username, String password);
    String getSalt(String username);
}
